const express = require('express');
const app = express();

const productRouter = require('./routers/productRouter');
const orderRouter = require('./routers/orderRouter');

app.use('/product',productRouter);
app.use('/order',orderRouter);

app.listen('3000',  () => {
    console.log('服务已启动: http://localhost:3000')
})